package com.coolw.spring.statemachine.dto;

import com.coolw.common.api.BaseDomain;
import com.coolw.spring.statemachine.support.BaseContext;
import com.coolw.spring.statemachine.enums.OrderStatusEnum;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * 订单信息
 *
 * @author coolw
 * @date 2024/4/8 16:41
 */
@Getter
@Setter
@NoArgsConstructor
public class OrderDTO extends BaseDomain implements BaseContext {
    private static final long serialVersionUID = -3365894702639501662L;

    /**
     * 订单ID
     */
    private String orderId;

    /**
     * 订单状态
     */
    private OrderStatusEnum orderStatusEnum;

    // 其他字段省略

    public OrderDTO(String orderId) {
        this.orderId = orderId;
    }
}
